//
//  ClientAddAPI.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/7.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "ClientAddAPI.h"

@interface ClientAddAPI()

@property (nonatomic,copy) NSString *clientWayName;
@property (nonatomic,copy) NSString *clientWayType;
@property (nonatomic,copy) NSString *contactPerson;
@property (nonatomic,assign) NSString *contactNumber;
@property (nonatomic,copy) NSString *contactAddress;
@property (nonatomic,copy) NSString *invoice;
@property (nonatomic,copy) NSString *taxpayerId;

@end

@implementation ClientAddAPI

- (instancetype)initWithcontactNumber:(NSString *)contactNumber {
    if (self = [super init]) {
        self.contactNumber = contactNumber;
        [self testDataAPI];
       
    }
    return self;
}

- (void)testDataAPI {
    self.clientWayName = @"test";
    self.clientWayType = @"1";
    self.contactPerson = @"test";
    self.contactNumber = @"18520701023";
    self.contactAddress = @"广州";
    self.invoice = @"发票抬头";
    self.taxpayerId = @"123456";
}

- (NSString *)requestUrl {
    return @"message/client/addClientInfo";
}



- (id)requestAppendArgument{
    
    return @{
             @"clientWayName":self.clientWayName,
             @"clientWayType":self.clientWayType,
             @"contactPerson":self.contactPerson,
             @"contactNumber":self.contactNumber,
             @"contactAddress":self.contactAddress,
             @"invoice":self.invoice,
             @"taxpayerId":self.taxpayerId,
    };

}

@end
